﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class PersonStruct_person
    {
        public string name;
        public int telephone;
        public string address;

        public string Name
        {
            get { return name; }
            set { this.name = value; }
        }
        public int Telephone
        {
            get { return telephone; }
            set { this.telephone = value; }
        }
        public string Address
        {
            get { return address; }
            set { this.address = value; }
        }

        public void pritln()
        {
            Console.WriteLine("我的名字叫做{0}，我的电话号码是{1}，我的家庭住址在{2}",this.name,this.telephone,this.address);
        }
    }
}
